home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / raise_error < prev    next >
Text File  |  2001-04-06  |  455b  |  14 lines

  1. SYNOPSIS
  2.         void raise_error(string arg)
  3.  
  4. DESCRIPTION
  5.         Abort execution. If the current program execution was
  6.         initiated by catch(), that catch expression will return arg as
  7.         error code, else the arg will printed as error message.         This
  8.         is very similar to throw(), but while throw() is intended to
  9.         be called inside catch(), raise_error() can be called
  10.         anywhere.
  11.  
  12. SEE ALSO
  13.         catch(E), throw(E)
  14.